package com.whacos.modules.oa.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.whacos.modules.oa.entity.Notify;
import com.whacos.modules.oa.dto.NotifyDTO;
import com.whacos.modules.oa.entity.NotifyRecord;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xiongdun
 * @description 通知通告
 * @since 2018/11/17 17:11
 */
@Service
public interface NotifyService extends IService<Notify> {

    boolean batchRemove(List<Long> idList);
    /**
     * 查询自身通知信息列表
     * @param page
     * @param notifyRecord
     * @return
     */
    IPage<NotifyDTO> selfList(IPage<NotifyDTO> page, NotifyRecord notifyRecord);
}
